javascript maps

here now we will create a map from an array

yes we can set the values of a map via map.set()

we can also get the size of the map

we can also delete the object in the map

we can also check if the key or values exist or not

the foreach() methods calls a function for each key or each values pair in map